micro_utils.dokka
0.12.0
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[jvm]invokeOnFirst
invoke
On
First
jvm
suspend
fun
<
T
,
O
>
Iterable
<
Deferred
<
T
>
>
.
invokeOnFirst
(
scope
:
CoroutineScope
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
Content copied to clipboard
suspend
fun
<
T
,
O
>
invokeOnFirst
(
scope
:
CoroutineScope
,
vararg
variants
:
Deferred
<
T
>
,
cancelOnResult
:
Boolean
=
true
,
callback
:
suspend
(
T
)
->
O
)
:
O
Content copied to clipboard